-- GENERATED SPELL FOR [Lieutenant Celeyne] --


function spell0_23964(pUnit, Event) --@Concussion Blow,n/a--
pUnit:FullCastSpellOnTarget(32588,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23964', 5260, 1)
end

function spell1_23964(pUnit, Event) --@Intercept,n/a--
pUnit:FullCastSpellOnTarget(27577,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23964', 668, 1)
end

function spell2_23964(pUnit, Event) --@Mortal Strike,n/a--
pUnit:FullCastSpellOnTarget(16856,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23964', 5323, 1)
end

function Sorts_23964(pUnit, Event)
local choix_sorts_23964 = math.random(0, 2)
if choix_sorts_23964 == 0 then
pUnit:RegisterEvent('spell0_23964', 1, 1)
end
if choix_sorts_23964 == 1 then
pUnit:RegisterEvent('spell1_23964', 1, 1)
end
if choix_sorts_23964 == 2 then
pUnit:RegisterEvent('spell2_23964', 1, 1)
end
end

function mob23964_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23964', math.random(1500, 3000), 1)
end

function mob23964_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23964_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23964_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23964, 1, 'mob23964_Action')
RegisterUnitEvent(23964, 2, 'mob23964_Leave')
RegisterUnitEvent(23964, 3, 'mob23964_Kill')
RegisterUnitEvent(23964, 4, 'mob23964_Die')
